﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CardGamesLibrary.Cards;

namespace CardGamesLibrary.Rules
{
    public interface IRule<T>
    {
        bool IsSatisfied(T item);
    }

    public interface ICardRule<T>
        where T : Card
    {
        bool CanAddCard(ICardPile<T> pile, T card);
    }
}
